package queue;
import MyOs.*;
public class Test {
    public static void main(String[] args){
        queue a=new linkqueue();
       // a.enQueue(1);
        //a.enQueue(2);
        //a.enQueue(3);
        //a.enQueue(4);
        //a.clear();
        System.out.println("显示进程的id");
        //System.out.println(" "+a.isEmpty());
        //System.out.println(" "+a.deQueue().pid);
        //a.enQueue(5);
        //System.out.println(" "+a.deQueue().pid);
        //System.out.println(" "+a.deQueue().pid);
        //System.out.println(" "+a.getFront().pid);
        //System.out.println(" "+a.deQueue().pid);
        //System.out.println(" "+a.isEmpty());
        //System.out.println(" "+a.getFront().pid);
        //System.out.println(" "+a.isEmpty());
        //System.out.println(" "+a.delete(4).pid);
       // System.out.println(" "+a.deQueue().pid);
        //System.out.println(" "+a.deQueue().pid);
        //System.out.println(" "+a.deQueue().pid);
        /*for(int i=1;i<=100;i++)
            a.enQueue(i);
        a.delete(1);
        a.delete(3);
        a.delete(100);
        a.delete(97);
        a.delete(60);
        while(!a.isEmpty())
            System.out.println(" "+a.deQueue().pid);*/
        for(int i=1;i<=3;i++)
            a.enQueue(i);
        for(int i=1;i<=12;i++)
            System.out.println(" "+a.getOnePcb().pid);
    }
}
